package javbot.command;


import java.awt.AWTException;

public class CmdJumpTo extends Command {

	final private int x;
	final private int y;
		
	public CmdJumpTo(int x,int y) throws AWTException {
		super();
		this.x = x;
		this.y = y;
	}

	public void execute() {
		robot.mouseMove(x,y);
	}

	public String toString() {
		return "Jump to (" + x + "," + y + ")";
	}
}
